﻿using Inovout.Models;

namespace Inovout.Cloud.DataWarehouse.Models
{
    public partial class DataCollectionRelationCondition : DataObject
    {
        public DataCollectionRelationCondition()
        {
            ConditionOperation = Operation.And;
        }

        public virtual DataCollectionRelationProperty DataCollectionRelationProperty { get; set; }

        public virtual DataViewCollectionProperty SourceDataCollectionProperty { get; set; }
        public virtual DataViewCollectionProperty TargetDataCollectionProperty { get; set; }
        public virtual string TargetValue { get; set; }
        public virtual Operation Operation { get; set; }

        public virtual bool IsValueCondition { get; set; }
        public virtual Operation ConditionOperation { get; set; }
    }
}
